package apiroutes

import (
	"dataaysn/internal/service"

	"github.com/gin-gonic/gin"
)

func RegisterLogDrgDipRoutes(r *gin.Engine, logDrgDipService *service.LogDrgDipService) {
	logDrgDipGroup := r.Group("/api/log-drg-dips")
	{
		logDrgDipGroup.POST("", logDrgDipService.CreateLog)
		logDrgDipGroup.GET("", logDrgDipService.ListLogsByPatient)
		logDrgDipGroup.GET("/:id", logDrgDipService.GetLogByID)
	}
}
